package com.csweimei.rentmanagementtreasure.http.entity;

import com.csweimei.rentmanagementtreasure.utils.ValidateUtils;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class CompanyBean extends BaseResult{
    @SerializedName("data")
    private DataDTO data;

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO implements Serializable {
        @SerializedName("id")
        private int id;
        @SerializedName("businessImg")
        private String businessImg;
        @SerializedName("CompanyName")
        private String companyName;
        @SerializedName("CompanyType")
        private String companyType;
        @SerializedName("CompanyCode")
        private String companyCode;
        @SerializedName("LegalPerson")
        private String legalPerson;
        @SerializedName("City")
        private String city;
        @SerializedName("Address")
        private String address;
        @SerializedName("faceSrc")
        private String faceSrc;
        @SerializedName("nationSrc")
        private String nationSrc;
        @SerializedName("fullName")
        private String fullName;
        @SerializedName("IDCard")
        private String iDCard;
        @SerializedName("IsAuth")
        private int isAuth;
        @SerializedName("addtime")
        private String addtime;
        @SerializedName("userid")
        private int userid;
        @SerializedName("CompanyLogo")
        private String companyLogo;
        @SerializedName("Email")
        private String email;
        @SerializedName("phone")
        private String phone;
        @SerializedName("WeChat")
        private String weChat;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getBusinessImg() {
            return businessImg;
        }

        public void setBusinessImg(String businessImg) {
            this.businessImg = businessImg;
        }

        public String getCompanyName() {
            return companyName;
        }

        public void setCompanyName(String companyName) {
            this.companyName = companyName;
        }

        public String getCompanyType() {
            return companyType;
        }

        public void setCompanyType(String companyType) {
            this.companyType = companyType;
        }

        public String getCompanyCode() {
            return companyCode;
        }

        public void setCompanyCode(String companyCode) {
            this.companyCode = companyCode;
        }

        public String getLegalPerson() {
            return legalPerson;
        }

        public void setLegalPerson(String legalPerson) {
            this.legalPerson = legalPerson;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getFaceSrc() {
            return faceSrc;
        }

        public void setFaceSrc(String faceSrc) {
            this.faceSrc = faceSrc;
        }

        public String getNationSrc() {
            return nationSrc;
        }

        public void setNationSrc(String nationSrc) {
            this.nationSrc = nationSrc;
        }

        public String getFullName() {
            return fullName;
        }

        public void setFullName(String fullName) {
            this.fullName = fullName;
        }

        public String getIDCard() {
            return iDCard;
        }

        public void setIDCard(String iDCard) {
            this.iDCard = iDCard;
        }

        public int getIsAuth() {
            return isAuth;
        }

        public void setIsAuth(int isAuth) {
            this.isAuth = isAuth;
        }

        public String getAddtime() {
            return ValidateUtils.getTimeByType(addtime,ValidateUtils.TIME_YMD);
        }

        public void setAddtime(String addtime) {
            this.addtime = addtime;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public String getCompanyLogo() {
            return companyLogo;
        }

        public void setCompanyLogo(String companyLogo) {
            this.companyLogo = companyLogo;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getWeChat() {
            return weChat;
        }

        public void setWeChat(String weChat) {
            this.weChat = weChat;
        }
    }
}
